package tech.aistar.corejava.day05.overloaddemo;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:方法的重载
 * @date 2019/7/19 0019
 */
public class MethodOverloadDemo {
    public static void main(String[] args) {
        test01(12);

        test01(12,29);

        test01("tom");

    }

    public static int test01(int a){
        return a;
    }

    public static int test01(int d,int a){
        return d;
    }

    public static String test01(String name){
        return name;
    }
}
